package com.ldl.handle.demo.service.impl;

import com.ldl.handle.demo.service.DemoQuoteService;
import com.ldl.handle.demo.service.DemoService;
import com.ldl.handle.spring.framework.annotation.LdlAutowired;
import com.ldl.handle.spring.framework.annotation.LdlService;

/**
 * @author ldl  想过夏天的雪人
 * @Date 2022-10-14 9:40
 */
@LdlService
public class DemoQuoteServiceImpl implements DemoQuoteService {
    @LdlAutowired
    private DemoService demoService;

    @Override
    public String query(String name) {
        demoService.hello(name);
        return String.format("这里引用了Demo：%s", name);
    }
}
